package com.gxa.modules.app.outpatient.book.controller;

import com.gxa.common.utils.NoGenerateUtils;
import com.gxa.modules.model.vo.DayAndWeekDayVO;
import com.gxa.modules.pc.order.service.BookHsCheckService;
import com.gxa.modules.pc.order.service.impl.BookHsCheckServiceImpl;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: zhuiyi
 * @CreatTime: 2022/11/14 22:01
 **/
public class Test {
    public static void main(String[] args) {
//        String[] split = "15:00".split("\\:");
//        System.out.println(Arrays.toString(split));
//        String temp = "";
//        if(Integer.parseInt(split[0])>=9 &&Integer.parseInt(split[0])<=11 ){
//            temp = "am" + split[0];
//        }else {
//            temp = "pm" + split[0];
//        }
//        List<String> stringWeekDays = DateUtils.getStringWeekDays(0);
//        System.out.println(stringWeekDays);
////        Arrays.toString(stringWeekDays);
//        DateTime dateTime = new DateTime();
//        LocalDate localDate = new LocalDate(dateTime);
//        System.out.println(dateTime);
//        System.out.println(localDate);
//        String stringToday = DateUtils.getStringToday();
//        System.out.println(stringToday);

//        List<String> dayAndAfterNumDays = DateUtils.getDayAndAfterNumDays(new Date(), 5);
//        System.out.println(dayAndAfterNumDays);
//        BookHsCheckService hsCheckService = new BookHsCheckServiceImpl();
//        List<DayAndWeekDayVO> week7 = hsCheckService.getWeek7();
//        System.out.println(week7);
//        String day  ="2022-11-19";
//        String[] split = day.split("\\-");
//        System.out.println(split[2]);

        BookHsCheckService bookHsCheckService = new BookHsCheckServiceImpl();
        Map<String, Object> week7plus = bookHsCheckService.getWeek7plus();
        System.out.println(week7plus);
    }
}
